package com.example.asus.myapplication;

import android.test.ActivityInstrumentationTestCase2;

import com.example.myprojectoffeixue.FristLogin;
import com.example.myprojectoffeixue.LoginActivity;
import com.robotium.solo.Solo;

/**
 * Created by ASUS on 2016/9/28.
 */
public class FristLoginTest extends ActivityInstrumentationTestCase2 {

    private Solo solo;

    public FristLoginTest() {
        super(FristLogin.class);

    }

    @Override
    public void setUp() throws Exception {
        super.setUp();
        solo = new Solo(getInstrumentation(), getActivity());
    }


    public void test(){
        solo.clickOnImage(0);
        solo.sleep(2000);
        solo.goBack();
        solo.clickOnText("添加配置完成网关");
        solo.sleep(2000);



    }














}
